StarBurn OCX
ContentsIndexHome
PreviousUpNext
IDevice::ReadATIP Method
C++
[id(42), helpstring("reads ATIP information")]
HRESULT ReadATIP([out] UCHAR AtipInfo[0x100], [in] ULONG AtipInfoSize);
Parameters 
Description 
nTrackNumber 
Track number to grab
 
bstrFileName 
Filename to store grabbed track
 
vbIgnoreBadBlocks 
Specifies to ignore bad block or not 

The function grabs track specified by number and store it to the file

// try to grab track
try
{
Device.TestUnitReady();
Device.SetSpeeds(
    0xFFFF,
    0xFFFF
    );

// grab track
Device.GrabTrack(1,"c:\1.iso",false);

Device.Eject();

WScript.echo('Finished');

}
catch (e)
{
WScript.echo('Error = '+Device.ErrorMessage);
}
Links